﻿using _2112A_2_MES._wangweihao;
using _2112A_2_MES._XiangHe;
using _2112A_2_MES.SuJiaHaos.Sasles;
using _2112A_2_MES.SuJiaHaos.ToolTypes;
using _2112A_2_MES.SuJiaHaos.WareHouse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.WangWeiHao;
using Volo.Abp.Application.Services;

namespace _2112A_2_MES.SuJiaHaos
{
    /// <summary>
    ///  工装夹具类型服务接口
    /// </summary>
    public interface IToolTypeService : IApplicationService
    {
        /// <summary>
        /// 获取工装夹具信息
        /// </summary>
        /// <returns>返回工装夹具信息的实体</returns>
        Task<ReturnSelect<object>> GetToolTypeList(int pageSize, int pageIndex);

        /// <summary>
        /// 工装夹具添加
        /// </summary>
        /// <param name="input">工装夹具实体</param>
        /// <returns></returns>
        Task<int> GetCreateToolType(CreateToolTypeDTO input);

        /// <summary>
        /// 工装夹具删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteToolType(int id);

        /// <summary>
        /// 工装夹具反填
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回客户信息实体</returns>
        Task<ToolType> GetToolType(int id);

        /// <summary>
        /// 工装夹具修改
        /// </summary>
        /// <param name="input">工装夹具实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateToolType(CreateToolTypeDTO input);
    }
}
